package top.hg.tool.common.exception;

import lombok.Getter;

/**
 * @Author: skh
 * @Date: 2019/7/29 11:55
 * @Description:
 */
@Getter
public class UserException extends RuntimeException{
    private Integer code = 401;

    public UserException(String message) {
        super(message);
    }

    public UserException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}
